projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33a3d2a
)
(x_calc_absolute_position): Add BLOCK_INPUT around
author
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Sat, 19 May 2007 05:07:40 +0000
(
05:07
+0000)
committer
YAMAMOTO Mitsuharu
<mituharu@math.s.chiba-u.ac.jp>
Sat, 19 May 2007 05:07:40 +0000
(
05:07
+0000)
mac_get_window_bounds.
src/macterm.c
patch
|
blob
|
history
diff --git
a/src/macterm.c
b/src/macterm.c
index 1acb521f47be75f8c69f589b63b95f97d51669bf..9c1a151f4a92f1af4de643801059e47553feddbe 100644
(file)
--- a/
src/macterm.c
+++ b/
src/macterm.c
@@
-6084,7
+6084,9
@@
x_calc_absolute_position (f)
/* Find the offsets of the outside upper-left corner of
the inner window, with respect to the outer window. */
+ BLOCK_INPUT;
mac_get_window_bounds (f, &inner, &outer);
+ UNBLOCK_INPUT;
width_diff = (outer.right - outer.left) - (inner.right - inner.left);
height_diff = (outer.bottom - outer.top) - (inner.bottom - inner.top);